#ifndef SeqJacobi_hpp
#define SeqJacobi_hpp

#include <vector>

class SeqJacobi {
	
	std::vector<std::vector<double> > A;
	std::vector<double> B;
	std::vector<double> x;
	bool solved;
	double error;
	int maxIterations;

public:

	SeqJacobi 	(std::vector<std::vector<double> >& A,
				 std::vector<double>& B,
				 std::vector<double>& x_0,
				 double error,
				 int maxIterations);


	std::vector<double> solve (int * iterations = 0);

};


#endif
